package com.csun.cmny.provider.model.dto.message;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class OldmanInQueryDto {

    /*
    * 老人id
    * */
    private Long oldmanId;

    /*
    * 老人状态集合
    * */
    private List<Integer> statusList;

    /*
    * 机构id
    * */
    private Long groupId;

    /**
     * 订单日期-查询开始
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startQueryTime;

    /**
     * 订单日期-查询结束
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endQueryTime;
}
